home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
DEMOS
/
THEDEMO
/
!The Demo
/
!RunImAGE
(
.txt
)
< prev
next >
Wrap
RISC OS BBC BASIC V Source
|
1993-01-12
|
6KB
|
200 lines
> !RunImage
> Written by Zynx/ArcEmpire
> -----------------------------------------------------------------------
> This Mega Demo was coded entirely by me, with graphics done by Zeus/ArcEmpire.
> There is no music in this demo, only in the HIDDEN PART, which you should be able
> find with a little work... -Hint : 'The Last Capital is depressed...'
> I have not included any tunes, coz we have NO MUSICAL MEMBERS, so if any of you
> would like to contribute, or join ArcEmpire as musicians please contact me!
> Music for the hidden part by 'Dr. Awesome' ... -A great Amiga musician :-)
> I'd like to thank the following people for moral- & spiritual support :
> -----------------------------------------------------------------------
> Equex, Badger, Zeus, MagnaTron, Forza, Inferior Software,
> Epics, Martin (PARAtex), Armaniac, Andromeda (Amiga),
> ArmStrong, Odd, Claus, Knut, Terje, Are, Trygve, Henrik, Oddvar,
> The Shamen, Yello, Mike Oldfield, Jarre, Vangelis, The KLF, U 96,
> Puser'n, Puseline, Lorissa, Julie, Tammy, Synthia, Sandra & Cassandra
> -----------------------------------------------------------------------
> Contact me here: snail : Eivind Hagen
> Drammensvn 44
> N-3600 KONGSBERG
> NORWAY
> email : eivind@samson.kih.no
> -----------------------------------------------------------------------
/10;" ";
Min_SlotSize=32*1024
FileName 512
RData 256
Buffer 4096
TaskId 4
$TaskId="TASK"
"Wimp_Initialise",200,!TaskId,"Mega Demo"
OS_Version,My_Task
_ErrorBox:
"OS_ReadDynamicArea",0
,OrgSize_0
"OS_ReadDynamicArea",1
,OrgSize_1
"OS_ReadDynamicArea",2
,OrgSize_2
"OS_ReadDynamicArea",3
,OrgSize_3
"OS_ReadDynamicArea",4
,OrgSize_4
"OS_ReadDynamicArea",5
,OrgSize_5
"OS_ReadDynamicArea",2
,ScreenSize
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
ScreenSize > 320*1024
"OS_ChangeDynamicArea",2,(320*1024-ScreenSize)
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,FreeSlot
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
NextSlot < 1248*1024
@1
"XOS_ChangeDynamicArea",0,-16*1024*1024
A>
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
BN
"Wimp_SlotSize",-1,NextSlot+FreeSlot
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
NextSlot < 1248*1024
G1
"XOS_ChangeDynamicArea",1,-16*1024*1024
H>
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
IN
"Wimp_SlotSize",-1,NextSlot+FreeSlot
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
NextSlot < 1248*1024
N1
"XOS_ChangeDynamicArea",3,-16*1024*1024
O>
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
PN
"Wimp_SlotSize",-1,NextSlot+FreeSlot
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
NextSlot < 1248*1024
U1
"XOS_ChangeDynamicArea",4,-16*1024*1024
V>
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
WN
"Wimp_SlotSize",-1,NextSlot+FreeSlot
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
NextSlot < 1248*1024
\1
"XOS_ChangeDynamicArea",5,-16*1024*1024
]>
"Wimp_SlotSize",-1,0
CurrentSlot,NextSlot,FreeSlot
^N
"Wimp_SlotSize",-1,NextSlot+FreeSlot
CurrentSlot,NextSlot,FreeSlot
"Wimp_SlotSize",-1,-1
CurrentSlot,NextSlot,FreeSlot
NextSlot < 1248*1024
ErrorBlock 32
ErrorBlock!0=0
e+ $(ErrorBlock+4)="Not enough memory!"
f2
"Wimp_ReportError",ErrorBlock,
(3),"CPU"
_Restore_Dynamic_Areas
_Kamikaze
"Wimp_StartTask","Run <TheDemo$Dir>.Loader"
_Restore_Dynamic_Areas
_Kamikaze
q*
"Wimp_Poll",0,RData
ReasonCode
_PollHandler
_Restore_Dynamic_Areas
x.
"XOS_ReadDynamicArea",0
,ModSize_0
y9
"XOS_ChangeDynamicArea",0,(OrgSize_0-ModSize_0)
{.
"XOS_ReadDynamicArea",1
,ModSize_1
|9
"XOS_ChangeDynamicArea",1,(OrgSize_1-ModSize_1)
~.
"XOS_ReadDynamicArea",2
,ModSize_2
"XOS_ChangeDynamicArea",2,(OrgSize_2-ModSize_2)
"XOS_ReadDynamicArea",3
,ModSize_3
"XOS_ChangeDynamicArea",3,(OrgSize_3-ModSize_3)
"XOS_ReadDynamicArea",4
,ModSize_4
"XOS_ChangeDynamicArea",4,(OrgSize_4-ModSize_4)
"XOS_ReadDynamicArea",5
,ModSize_5
"XOS_ChangeDynamicArea",5,(OrgSize_5-ModSize_5)
_PollHandler
RC=ReasonCode
ReasonCode
)
_Message(RData) :
)
_Message(RData) :
_Message(Block)
Block_Size=Block!0
Task_Handle=Block!4
Sender_Ref=Block!8
Reciever_Ref=Block!12
Action_Code=Block!16
Action_Code
1
"Wimp_CloseDown",My_Task,!TaskId
&400C3:
_Kamikaze
"Wimp_CloseDown":
---------------------------------------------------------------------
_ErrorBox
!Buffer=
, $(Buffer+4)=
$+" at line "+
/10)+
"Wimp_ReportError",Buffer,1,"Backup Manager"